package com.lcxw.hxzbapi.controller.configcontroller;

import com.lcxw.hxzbapi.entity.requestBean.RequestParamBasic;
import com.lcxw.hxzbapi.entity.response.Response;
import com.lcxw.hxzbapi.service.ConfigService;
import javax.annotation.Resource;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/live")
public class LiveConfigController {

    @Resource
    ConfigService configService;

    @PostMapping("/liveType/get")
    public Response getLiveType(@RequestBody RequestParamBasic requestParamBasic) {
        return configService.getLiveType();
    }

}
